/**
 * Copyright (C), 2020, 安徽贝慕信息科技有限公司
 * FileName: DealerUserQuery
 * Author:   Allen
 * Date:     2020/8/26 20:32
 * Description: 商家/系统两用登录用户实体
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.bim.marvel.openapi.client.query;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 〈商家/系统两用登录用户入参〉
 *
 * @author Allen
 * @date 2020/8/26
 * @since 1.0.0
 */
@Data
public class DealerUserQuery implements Serializable {
    /**
     * 用户名称（中文）
     */
    @ApiParam(value = "用户名称（中文）", name = "userName", example = "张三", required = true)
    @NotEmpty
    private String userName;

    /**
     * 登录名称(英文字母或数字)
     */
    @ApiParam(value = "登录名称(英文字母或数字)", name = "loginName", example = "13695467821", required = true)
    @NotEmpty
    private String loginName;

    /**
     * 登录密码
     */
    @ApiParam(value = "登录密码", name = "loginPassword", example = "*********")
    private String loginPassword;

    /**
     * 手机号码
     */
    @ApiParam(value = "手机号码", name = "phone", example = "13695467821", required = true)
    @NotEmpty
    private String phone;

    /**
     * 用户邮箱
     */
    @ApiParam(value = "用户邮箱", name = "email", example = "email@xueying.com")
    private String email;

}
